package mock.dao;

import java.sql.Date;
import java.util.List;

import mock.dto.LogTransferDTO;

public interface LogTransferDAO {
	
	/**
	 * lay tat ca cac log bang cardNo
	 * @param cardNo
	 * @return
	 */
	List<LogTransferDTO> getLogByCardNo(String cardNo);
	
	/**
	 * ghi log cash transfer
	 */
	boolean logging(int logTypeID, int atmID,
            String cardNo, Date logDate, double transferValue, String details, int toAccountID);
	
	/**
	 * lay log tu start date den ngay hien tai
	 */
	List<LogTransferDTO> getLogFromInputDateToNowByCardNo(String cardNo, Date startDate);

}
